package com.toumy.domain;

import lombok.Data;

@Data
public class Result {
    private Object data;
    private int code;
    private String msg;

    public Result(int code,Object data,String msg){
        this.data = data;
        this.code = code;
        this.msg = msg;
    }

    public Result(int code,Object obj){
        this.code = code;
        this.data = obj;
    }
}
